import Mock from 'mockjs'

export default {
    getDeviceAlarm: function() {
        var data = Mock.mock({
            'deviceAlarms|5': [{
                'address':'@city(true)',
                'name|1': ['B01','W02101', 'TC130', 'AE86'],
                'date': '@date'
            }]
        })
        return JSON.stringify(data, null, 4)
    }
}